#include <iostream>
using namespace std;

int datatype()
{
	//无符号短整型
	unsigned short data = 32769;
	//布尔值,true输出1，false输出0,非零整数输出1，零输出0
	bool panduan = true;
	//科学计数法浮点型表示
	double pai = 3.14e24;
	//字面值常量，十进制
	30 ;
	//八进制
	036 ;
	//long 整型
	036LL;
	//字符及字符串
	'A';
	"SSS";
	//转义字符
	cout << "你好C++\n你好世界\t制表符" << endl;

	//算数运算
	int datas = data + 1;
	int dataw = data * 2;
	int datap = data / 2;
	//求余数
	int datae = data % 3;
	//数组
	int arr[] = { 1,2,3,4,5,6 };
	//复合运算
	data = data + datas;
	//结果一致
	data += datas;
	//递增1
	++data;
	//输出布尔值，判断是否小于
	cout << (data < datas) << endl;


	cout << pai << endl;

	cout << panduan << endl;
		cout << "data值为:" << data << endl;
		cout << "data+1值为:" << (data+1) << endl;
		cout << "长度为：" << sizeof(data) << endl;
		char sex[10] = "男";
			cout << sex << endl;
		cin.get();
		return 0;

}